<?php

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

namespace Common\Model;

use Think\Model\RelationModel;

/**
 * 继承Relation 类
 */
class AuthenticaModel extends RelationModel {
    protected $_link = array(
        'users' => array(
            'mapping_type' => self::BELONGS_TO,
            'class_name' => 'Users',
            'foreign_key' => 'uid',
        )
    );

}
